<template>
  <div>

    <!-- <a-button @click="add">按钮</a-button> -->
    <!-- <dialogIndexOne ref="oneRef"></dialogIndexOne> -->
    <DialogIndexTwo ref="twoRef"></DialogIndexTwo>
  </div>
</template>

<script setup>
import { ref } from 'vue';
import dialogIndexOne from '../dialog/dialogIndexOne.vue';
import DialogIndexTwo from '../dialog/dialogIndexTwo.vue';
const oneRef = ref({})
// const add = () => {
//   oneRef.value.modalInit()
// }
const add1 = () => {
  twoRef.value.modalInit()
}

</script>